package yunquan.wang.modules.base.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import yunquan.wang.base.dao.springdata.BaseRepository;
import yunquan.wang.base.service.impl.BaseServiceImpl;
import yunquan.wang.modules.base.dao.UserinfoDao;
import yunquan.wang.modules.base.entity.Userinfo;
import yunquan.wang.modules.base.service.UserinfoService;
/**
 *  Userinfo Service层 实现
 *  @author 王云权  wangyunquan@gmail.com
 *  用生成器 生成于 2011-09-30 22:37
 *
 */
@Service("userinfoService")
@Transactional
public class UserinfoServiceImpl extends BaseServiceImpl<Userinfo>
		implements UserinfoService {
	private UserinfoDao userinfoDao;

	@Resource(name="userinfoDao")
	public void setDao(UserinfoDao userinfoDao) {
		this.userinfoDao = userinfoDao;
	}

	public BaseRepository<Userinfo, String> getDao() {
		return userinfoDao;
	}

}
